<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>循环数组</h3>



<table border="1" cellpadding="0" cellspacing="0">
    <thead>
    <tr>
        <td>姓名</td>
        <td>年龄</td>
        <td>生日</td>
    </tr>
    </thead>
    <tbody>
    <tr th:each="u:${arrays}">
        <td th:text="${u.name}"></td>
        <td th:text="${u.age}"></td>
        <td th:text="${#dates.format(u.bir,'yyyy/MM/dd')}"></td>
    </tr>
    </tbody>
</table>

</body>
</html>